<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //向当前浏览器会话的历史堆栈中添加一个状态记录
        const state ={ page_id: 1, user_id: 5 };
        const title = "";
        const url ="hello-word.html";
        history.pushState(state, title, url);
        
    </script>
</body>
</html>